import java.util.Scanner;

public class bidaxiao {
    public static void main(String[] args) {
        int a,b,c,d,e,max;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入第一个数");
        a= scanner.nextInt();
        System.out.println("请输入第二个数");
        b= scanner.nextInt();
        System.out.println("请输入第二个数");
        c= scanner.nextInt();
        max=a>b?(a>c?a:c):(b>c?b:c);  System.out.println("max = " + max);



//        d=a>b?a:b;
//        e=d>c?d:c;//max=a>b?(a>c?a:c):(b>c?b:c);  System.out.println("max = " + max);
//        System.out.println("a,b,c,三个数中最大的数为"+e);
    }
}
